<table class="table-info gold-rate">
    <tr class="head">
        <td></td>
        <td><strong><?php echo Yii::t('site/general','Buy')?></strong></td>
        <td><strong><?php echo Yii::t('site/general','Sell')?></strong></td>
    </tr>
    <?php foreach ($models as $model):?>
    <tr class="body <?php echo $model->pos%2==0?'':'odd'?>">
        <td class="name"><span title="<?php echo $model->name; ?>"><?php echo $model->code;?></span></td>
        <td class="buy"><?php echo $model->buy;?></td>
        <td class="sell"><?php echo $model->sell;?></td>
    </tr>
    <?php endforeach;?>
</table>